<div id="jqt">
	<div id="home" class="current">
		<form id="login" action="/users/login" method="POST" class="form">
            <div class="toolbar">
                <h1>Login</h1>
            </div>
            <ul class="rounded">
                <li><input type="text" name="data[User][Username]" value="" placeholder="Username" /></li>
                <li><input type="password" name="data[User][Password]" value="" placeholder="Password" /></li>
            </ul>
            <a style="margin:0 10px;color:rgba(0,0,0,.9)" href="#" onclick="document.getElementById('login').submit();" class="submit whiteButton">Submit</a>
			
			<ul class="rounded">
					<?php
						$paramsQuery = $this->params->query;
						if(!is_array($paramsQuery))
						{
							$paramsQuery = array();
						}
						$paramsQuery['url'] = ( isset($paramsQuery['url']) ) ? $paramsQuery['url'] : '';
						$url = $paramsQuery['url'];
						unset($paramsQuery['url']);
						$params = $paramsQuery;
						$desktop_url = '/' . $url . '?' . http_build_query( array_merge( $params, array( 'forcedLayout' => 'desktop' ) ) );
					?>
						<li class=""><a rel="external" href="<?php echo $desktop_url;?>">Desktop Version</a></li>
					</ul>
        </form>
	</div>
</div>